package cn.dogger.easyboot.system.mapper;

import cn.dogger.easyboot.system.domain.dto.SysUserRoleDTO;
import cn.dogger.easyboot.system.domain.entity.SysUserRole;
import cn.dogger.easyboot.system.domain.vo.SysUserRoleDetail;
import cn.dogger.easyboot.system.domain.vo.SysUserRoleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 用户和角色关联表
* @author dogger
* 2022-04-16
*/
@Repository
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    List<SysUserRoleVO> list(@Param("tb") SysUserRoleDTO dto);

    SysUserRoleDetail detailById(@Param("id")String id);
}